
//
import type { VabRouteRecordRaw } from '../types'
import Layout from '/@vab/layouts/index.vue'
const afterSales: VabRouteRecordRaw[] = [
  {
    path: '/sales',
    name: 'Sales',
    component: Layout,
    meta: {
      title: '售后管理',
      icon: 'article-line',
    },
    children: [
      {
        path: 'salesOrder',
        name: 'SalesOrder',
        component: () => import('/@/views/afterSales/index.vue'),
        meta: {
          title: '售后订单',
          noKeepAlive: false,
          // icon: 'user-search-line',
          // dot: true,
        },
      },
      {
        path: 'addSales',
        name: 'AddSales',
        component: () => import('/@/views/afterSales/component/addSalesOrder.vue'),
        meta: {
          title: '售后订单',
          noKeepAlive: true,
          tabHidden: true,
          hidden: true,
        },
      },
      {
        path: 'salesDetails',
        name: 'SalesDetails',
        component: () => import('/@/views/afterSales/component/salesOrderDetails.vue'),
        meta: {
          title: '售后单详情',
          noKeepAlive: true,
          tabHidden: true,
          hidden: true,
        },
      },
    ],
  },
]

export default afterSales
